# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-aiohttp-debugtoolbar
_pkgname=aiohttp-debugtoolbar
pkgver=0.5.0
pkgrel=1
pkgdesc="A ibrary for debugtoolbar support for aiohttp"
options="!check" # Requires unpackaged pytest-aiohttp
url="https://github.com/aio-libs/aiohttp-debugtoolbar"
arch="noarch"
license="Apache-2.0"
depends="py3-aiohttp py3-aiohttp-jinja2"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/aio-libs/aiohttp-debugtoolbar/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="31af4d947c2392c0a61718f545e642ef9d10dcf0ae433244dc9df77f823dbf26216ab0b7fd73dd44696e9ab0a68a0d63c6b5d83b870d90375b06adf5963e69b5  py3-aiohttp-debugtoolbar-0.5.0.tar.gz"
